﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DungeonCrawlerDesert
{
    class Meny
    {
        public void print()
        {
            System.Console.Clear();
            System.Console.SetCursorPosition(10, 4);
            System.Console.WriteLine("---MENY---");
            System.Console.SetCursorPosition(10, 5);
            System.Console.WriteLine("==========");
            System.Console.SetCursorPosition(10, 7);
            System.Console.WriteLine("1. Start new game:");
            System.Console.SetCursorPosition(10, 8);
            System.Console.WriteLine("2. Load game: ");
            System.Console.SetCursorPosition(10, 9);
            System.Console.WriteLine("3. Save game: ");
            System.Console.SetCursorPosition(10, 10);
            System.Console.WriteLine("4. Exit:");
        }

        public int getUserChoice()
        {
            Console.SetCursorPosition(10,12);
            Console.Write("Ange ditt val:");
            int svar = Convert.ToInt32(System.Console.ReadLine());
            return svar;
        }
    }
}